package com.kun.dao.role;

import com.kun.entity.Role;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;

public interface RoleDao {

    //获取角色信息列表
    public ArrayList<Role> getRoleList(Connection connection)throws SQLException;

    //根据角色id获取角色名
    public String getRoleName(Connection connection, Integer roleId)throws SQLException;
}
